﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace WaiGaoQiaoWeb.Models
{
    public class DepartMentVM
    {
        [Required]
        [Display(Name = "部门编号")] 
        public int Dep_ID
        {
            get; 
            set;
        }

        [Required]
        [Display(Name = "部门代码")] 
        public string Dep_No
        {
            get;
            set;
        }

        [Display(Name = "部门名称")] 
        public string DeptName
        {
            get;
            set;
        }

        [Display(Name = "上级部门编号")] 
        public int PriorNo 
        {
            get;
            set;
        }

        [Display(Name = "部门级别")]
        public int DeptLevel 
        {
            get;
            set;
        }
    }
}